package com.zhuss.bean.unit.core.site;

import java.util.Date;

import com.zhuss.enums.IsEnum;


public class SiteBean {
    private Long siteId;     //站点ID

    private Integer type;     //站点类型 公交站、小区门口、厂门口

    private String name;     //站点名字

    private String siteNo;     //站点编号

    private String address;     //具体地址

    private String lng;     //经度

    private String lat;     //纬度

    private String direction;     //车向

    private String info;     //停靠路线信息

    private Integer status;     //状态

    private Integer sort;     //顺序

    private String creator;     //创建人

    private Long creatorId;     //创建人ID

    private Date createTime;     //创建时间

    private String modifier;     //修改人

    private Long modifierId;     //修改人ID

    private Date modifyTime;     //修改时间

    private Integer deleted;     //删除，  0 为 不删除
    
    private Integer active = IsEnum.是.key();



    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
	}

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
	}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
	}

    public String getSiteNo() {
        return siteNo;
    }

    public void setSiteNo(String siteNo) {
        this.siteNo = siteNo;
	}

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
	}

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
	}

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
	}

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
	}

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
	}

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
	}

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
	}

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
	}

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
	}

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
	}

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
	}

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
	}

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
	}

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
	}
    
    public Integer getActive() {
		return active;
	}
    
    public void setActive(Integer active) {
		this.active = active;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((siteId == null) ? 0 : siteId.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SiteBean other = (SiteBean) obj;
		if (siteId == null) {
			if (other.siteId != null)
				return false;
		} else if (!siteId.equals(other.siteId))
			return false;
		return true;
	}
    
    


}
